package org.paterczm.watermarker;

import java.awt.Dimension;
import java.util.ArrayList;

public class Profile {

	private Dimension modelDimensions = new Dimension(1024, 768);
	private ArrayList<String> removeMatches = new ArrayList<String>();
	private ArrayList<String> keepMatches = new ArrayList<String>();
	private String watermarkFileName = "watermark.png";
	private int jpgQuality = 75;
	private Dimension maximumImageSize = new Dimension(1024, 768);
	private String name;

	public Profile(String name) {
		this.name = name;
		removeMatches.add("^thumb_(.*)");
		keepMatches.add("^(.*)\\.jpg");
	}

	public ArrayList<String> getKeepeMatches() {
		return keepMatches;
	}

	public void setKeepeMatches(ArrayList<String> keepeMatches) {
		this.keepMatches = keepeMatches;
	}

	public Dimension getModelDimensions() {
		return modelDimensions;
	}

	public void setModelDimensions(Dimension modelDimensions) {
		this.modelDimensions = modelDimensions;
	}

	public ArrayList<String> getRemoveMatches() {
		return removeMatches;
	}

	public void setRemoveMatches(ArrayList<String> removeMatches) {
		this.removeMatches = removeMatches;
	}

	public String getWatermarkFileName() {
		return watermarkFileName;
	}

	public void setWatermarkFileName(String watermarkFileName) {
		this.watermarkFileName = watermarkFileName;
	}

	public int getJpgQuality() {
		return jpgQuality;
	}

	public void setJpgQuality(int jpgQuality) {
		this.jpgQuality = jpgQuality;
	}

	public Dimension getMaximumImageSize() {
		return maximumImageSize;
	}

	public void setMaximumImageSize(Dimension maximumImageSize) {
		this.maximumImageSize = maximumImageSize;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String toString() {
		return name;
	}
}
